package com.community.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("mediation")
public class Mediation {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String involvedResidents;  // 涉及居民，JSON格式存储
    
    private String conflictType;  // 矛盾类型
    
    private String description;  // 矛盾描述
    
    private String solution;  // 解决方案
    
    private Long mediatorId;  // 调解人ID
    
    private LocalDateTime mediationDate;
    
    private String status;  // 处理状态
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    
    @TableLogic
    private Integer deleted;
} 